from gen import generate_equations_and_values, generate_queries
from alg import calc_equation

# 生成测试数据
equations, values, variables = generate_equations_and_values()
queries = generate_queries(variables=variables)

# 计算结果
results = calc_equation(equations, values, queries)
print("Results:", results)
